//
//
//
//

#include <QtGui>
#include <iostream>

#include "main.h"

int 
main(int argc, char *argv[]) 
{
	QCoreApplication a(argc, argv);
	CThread1 oThread1;
	CThread2 oThread2;
	MyObject myObject;

	QObject::connect(&oThread1, SIGNAL(MySignal()), &myObject, SLOT(MySlot()));

	oThread2.start();
	myObject.moveToThread(&oThread2);
	oThread1.start();

	return a.exec();
}
